package com.wsm.common.service;

import com.wsm.common.domain.ShiroPermissionDO;

import java.util.List;
import java.util.Map;

/**
 * shiro权限
 *
 * @author wangshimin
 * @email wangshiminhome@foxmail.com
 * @date 2020-02-02 20:54:16
 */
public interface ShiroPermissionService {

	ShiroPermissionDO get(String id);

	List<ShiroPermissionDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);

	int save(ShiroPermissionDO shiroPermission);

	int update(ShiroPermissionDO shiroPermission);

	int remove(String id);

	int batchRemove(String[] ids);

	void updatePermission();
}
